import http from '../utils/http'

/**
 * @description 添加到购物车
 * @returns Promise
 */
export const reqAddToCart = (userId,skuId,skuNum) => {
  return http.get(`/api/cart/addToCart/${userId}/${skuId}/${skuNum}`)
}

export const reqCartList = (userId) => {
  return http.get(`/api/cart/cartList/${userId}`)
}
